# coding: utf-8

from . import db


class Teacher(db.Model):
    __tablename__ = 'thing'

    autoID = db.Column(db.Integer, primary_key=True)
    thingID = db.Column(db.String(15, 'utf8mb4_general_ci'), info='教工号')
    name = db.Column(db.String(10, 'utf8mb4_general_ci'), info='姓名')
    describe = db.Column(db.String(255, 'utf8mb4_general_ci'), info='办公地址')
    isDelete = db.Column(db.Integer, server_default=db.FetchedValue(), info='是否删除')
    addTime = db.Column(db.DateTime, server_default=db.FetchedValue(), info='记录添加时间')
